<?php
/* @var $this OperatingFeatureController */
/* @var $model OperatingFeature */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'operating-feature-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'first_brigade_organization'); ?>
		<?php echo $form->textField($model,'first_brigade_organization'); ?>
		<?php echo $form->error($model,'first_brigade_organization'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fire_safety_seminar'); ?>
		<?php echo $form->textField($model,'fire_safety_seminar'); ?>
		<?php echo $form->error($model,'fire_safety_seminar'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'employee_trained_in_emergency_procedure'); ?>
		<?php echo $form->textField($model,'employee_trained_in_emergency_procedure'); ?>
		<?php echo $form->error($model,'employee_trained_in_emergency_procedure'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fire_or_evacuation_drill'); ?>
		<?php echo $form->textField($model,'fire_or_evacuation_drill'); ?>
		<?php echo $form->error($model,'fire_or_evacuation_drill'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'first'); ?>
		<?php echo $form->textArea($model,'first',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'first'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'second'); ?>
		<?php echo $form->textArea($model,'second',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'second'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'third'); ?>
		<?php echo $form->textArea($model,'third',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'third'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fourth'); ?>
		<?php echo $form->textArea($model,'fourth',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'fourth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'date_last_conducted'); ?>
		<?php echo $form->textField($model,'date_last_conducted'); ?>
		<?php echo $form->error($model,'date_last_conducted'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
		<?php echo $form->error($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->